<?php

namespace Home\Service;

use Home\DAO\ExpressDAO;

/**
 * 运单 Service
 *
 * @author 李静波
 */
class ExpressService extends PSIBaseService {

	/**
	 * 运单查询
	 */
	public function query($params) {
		$ed = new ExpressDAO();
		
		return $ed->query($params);
	}

	/**
	 * 客户通过微信寄件
	 */
	public function apply($params) {
		$ed = new ExpressDAO();
		
		return $ed->apply($params);
	}

	/**
	 * 获得我的信息，姓名、电话、地址等
	 */
	public function getMyInfo($openId) {
		$ed = new ExpressDAO();
		
		return $ed->getMyInfo($openId);
	}

	/**
	 * 修改我的信息
	 */
	public function editMyInfo($params) {
		$ed = new ExpressDAO();
		
		return $ed->editMyInfo($params);
	}
}